-
Notifications
You must be signed in to change notification settings - Fork 954
Porting Dynamic_Update_Slice operator from TFLite #3246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Sync changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks! I just have a few small comments to address.
| output_data); | ||
| } | ||
|
|
||
| TF_LITE_MICRO_TEST(DynamicUpdateSliceOpTestBoundaryTest) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the purpose of this test? How is this different from DynamicUpdateSliceOpTestSimpleFloat?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is same as DynamicUpdateSliceOpTestSimpleFloat except the indices. Here in this test indices used are corner case
| if (current_dim == max_dims) { | ||
| return kTfLiteOk; | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess this is unreachable?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It will, because it will be called by increasing current_dim count in recursively
Added Dynamic_Update_Slice operator changes.
BUG=fixes #3217